package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 巡检任务-巡检员明细表(ps_inspector_detail)
 */
@Data
@TableName(value = "ps_inspector_detail")
public class PsInspectorDetail {
    /**
    * 主键ID
    */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
    * 主表任务ID
    */
    private Long taskid;
    /**
     * 巡检员
     */
    private String inspectorcode;
    /**
     * 巡检员名称
     */
    private String inspectorname;

    /**
    * 创建时间
    */
    private Date creationtime;
    /**
     * 创建者
     */
    private String createdby;

    /**
    * 最后修改时间
    */
    private Date lastupdatetime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskid() {
        return taskid;
    }

    public void setTaskid(Long taskid) {
        this.taskid = taskid;
    }

    public String getInspectorcode() {
        return inspectorcode;
    }

    public void setInspectorcode(String inspectorcode) {
        this.inspectorcode = inspectorcode;
    }

    public String getInspectorname() {
        return inspectorname;
    }

    public void setInspectorname(String inspectorname) {
        this.inspectorname = inspectorname;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public Date getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(Date lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }
}